/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2022-09-18
 * Time: 9:05
 */
public class Test1 {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.addLast(1);
        mySingleList.addLast(2);
        mySingleList.addLast(1);
        mySingleList.addLast(1);
        mySingleList.addLast(1);
        mySingleList.addLast(1);
        mySingleList.addFrist(0);
        mySingleList.display();
        mySingleList.removeAllKey(1);
        mySingleList.display();
//        mySingleList.display();
////        try {
////            mySingleList.addIndex(0,88);
////        } catch (indexWrongFulException e) {
////            e.printStackTrace();
////        }
//        mySingleList.display();
//        mySingleList.remove(6);
//        mySingleList.display();
//        int l = mySingleList.size();
//        System.out.println(l);
//        System.out.println(mySingleList.contains(4));
    }
}
